# 欢迎补充错误码
import datetime

ERRNO_DICT = {
    0: "成功",
    3: "抢票CD中",
    100009: "库存不足,暂无余票",
    100001: "无票",
    100041: "对未发售的票进行抢票",
    100003: "验证码过期",
    100016: "项目不可售",
    100039: "活动收摊啦,下次要快点哦",
    100048: "已经下单，有尚未完成订单",
    100017: "票种不可售",
    100051: "订单准备过期，重新验证"
}


def withTimeString(string):
    return f"{datetime.datetime.now()}: {string}"
